package com.itheima.pojo;

import java.io.Serializable;

/**
 * @author ZJG
 * @date 2020-03-07 11:46
 */
public class Address implements Serializable {
    private int id;
    private String organization;//机构名称
    private String latitude;//经度
    private String longitude;//纬度
    private String telephone;//机构电话
    private String img;//机构图片
    private String address;//机构地址

    public Address() {
    }

    public Address(int id, String organization, String latitude, String longitude, String telephone, String img, String address) {
        this.id = id;
        this.organization = organization;
        this.latitude = latitude;
        this.longitude = longitude;
        this.telephone = telephone;
        this.img = img;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", organization='" + organization + '\'' +
                ", latitude='" + latitude + '\'' +
                ", longitude='" + longitude + '\'' +
                ", telephone='" + telephone + '\'' +
                ", img='" + img + '\'' +
                ", address='" + address + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
